import os
from multiprocessing import Lock

lock = Lock()

try:
    os.mkdir('files')
except FileExistsError as _:
    pass